class FilePreviewState {
  /// 文件预览状态
  FilePreviewStatus status = FilePreviewStatus.loading;

  /// 进度条进度值
  double progress = 0;

  /// 是否使用WebView
  bool useWebView = false;

  /// 是否显示进度条
  bool showProgress = false;

  /// txt内容
  String txtContent = '';

  FilePreviewState() {
    ///Initialize variables
  }
}

enum FilePreviewStatus { loading, success, failed, notSupport }
